package com.pinyougou;

import lombok.Data;

import java.io.Serializable;

@Data
public class Result implements Serializable {
    private Boolean success;
    private String msg;

    public Result() {
    }

    public Result(String msg) {
        this.msg = msg;
    }

    public Result(Boolean success) {
        this.success = success;
    }

    public Result(Boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
}
